package com.example.demo.information.entity.info;

import com.example.demo.account.entity.SysUser;
import com.example.demo.information.entity.School;
import lombok.Data;

/**
 * @author littlecar
 * @date 2020/3/12 16:30
 */
@Data
public class AdminInfo {

    private Long id;
    private String name;
    private String sfz;

    public AdminInfo(SysUser user) {
        this.id=user.getId();
        this.name=user.getName();
        this.sfz=user.getSfz();
    }
}
